package com.bdzl.biz.service.impl;

import com.bdzl.biz.dao.OrderAccountDao;
import com.bdzl.biz.service.OrderAccountService;
import com.bdzl.pub.entity.loan.OrderAccountDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class OrderAccountServiceImpl implements OrderAccountService {
	@Autowired
	private OrderAccountDao orderAccountDao;

	@Override
	public OrderAccountDO get(Integer orderAccountId){
		return orderAccountDao.get(orderAccountId);
	}

	@Override
	public List<OrderAccountDO> listByOdrNo(String odrNo) {
		return orderAccountDao.listByOdrNo(odrNo);
	}

	@Override
	public List<OrderAccountDO> list(Map<String, Object> map){
		return orderAccountDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderAccountDao.count(map);
	}

	@Override
	public int save(OrderAccountDO orderAccount){
		return orderAccountDao.save(orderAccount);
	}

	@Override
	public int update(OrderAccountDO orderAccount){
		return orderAccountDao.update(orderAccount);
	}

	@Override
	public int remove(Integer orderAccountId){
		return orderAccountDao.remove(orderAccountId);
	}

	@Override
	public int batchRemove(Integer[] orderAccountIds){
		return orderAccountDao.batchRemove(orderAccountIds);
	}

}
